package com.oop.principleOfOpeningAndClosing;

/**
 * @author Vhong
 * @version 1.0
 */
public class Test {
    public static void main(String[] args) {
        Employee emp1 = new Employee("马云");
        Employee emp2 = new Employee("马化腾");
        emp1.goHome(new Bike());
        emp2.goHome(new Bus());
    }
}
